import {defHttp} from '/@/utils/http/axios';

enum Api {
  query = '/violationTypeStatistics/query',
   listAll = '/sys/sysDepart/listAll'
   
}
/**
 * 列表接口
 * @param params
 */
export const list = (params) =>
  defHttp.get({url: Api.query, params});
export const listAll = () => defHttp.get({url: Api.listAll});
